package com.hdax.dmw.item.feign;

import com.hdax.dmw.entity.base.Image;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "dmw-services-base")
public interface BaseFeign {

    @PostMapping(path = "/base/image")
    Image image(@RequestParam("targetId")Long targetId,
                       @RequestParam("type")Integer type,
                       @RequestParam("category")Integer category);
}
